package com.zonerobotics.zBotAPI.ZMsg;

public class ZRegionOfInterest{
		  static final java.lang.String _TYPE = "sensor_msgs/RegionOfInterest";
		  static final java.lang.String _DEFINITION = "# This message is used to specify a region of interest within an image.\n#\n# When used to specify the ROI setting of the camera when the image was\n# taken, the height and width fields should either match the height and\n# width fields for the associated image; or height = width = 0\n# indicates that the full resolution image was captured.\n\nuint32 x_offset  # Leftmost pixel of the ROI\n                 # (0 if the ROI includes the left edge of the image)\nuint32 y_offset  # Topmost pixel of the ROI\n                 # (0 if the ROI includes the top edge of the image)\nuint32 height    # Height of ROI\nuint32 width     # Width of ROI\n\n# True if a distinct rectified ROI should be calculated from the \"raw\"\n# ROI in this message. Typically this should be False if the full image\n# is captured (ROI not used), and True if a subwindow is captured (ROI\n# used).\nbool do_rectify\n";
		  int xOffset;
		  int yOffset;
		  int height;
		  int width;
		  boolean doRectify;
		  
		public int getxOffset() {
			return xOffset;
		}
		public void setxOffset(int xOffset) {
			this.xOffset = xOffset;
		}
		public int getyOffset() {
			return yOffset;
		}
		public void setyOffset(int yOffset) {
			this.yOffset = yOffset;
		}
		public int getHeight() {
			return height;
		}
		public void setHeight(int height) {
			this.height = height;
		}
		public int getWidth() {
			return width;
		}
		public void setWidth(int width) {
			this.width = width;
		}
		public boolean isDoRectify() {
			return doRectify;
		}
		public void setDoRectify(boolean doRectify) {
			this.doRectify = doRectify;
		}	  
}

